console.log(null + 1);
null + 1
0 + 1
console.log([] + []);
// [] + []

// [] + {}

console.log(1 + true);
// 1 + 1

// console.log(new Date(2021,12,20) + 1);


console.log(true == '2');

if('2') {
    console.log('222');
}

[]  == [] // false 
console.log(undefined == 1);
// [] == ![] // true

// console.log(Number(Symbol()));
console.log(toString({}));

let a = { name: 'true' }
let b = [1, 2, 3]
let c = function() {}
console.log(b instanceof Function) // true
console.log(a instanceof Object) // true
console.log(c instanceof Object) // true